home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / primgad / p3cube.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  937 b   |  52 lines

  1.  
  2. // JavaScript wrapper for p3cube.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_p3cube_H = 1;
  7. include("real/gadget/r3prpgad.js")
  8.  
  9.  
  10. var R3CLID_CUBEPROPGADGET = 218;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Set corners
  16. // p3: r3Vect
  17.  
  18. R3PCUBGM_CPP3 = 218003;
  19.  
  20. function mR3PCUBGM_CPP3(p3) {
  21.   DoA(this.r3obj, 218003, p3, R3TID_VECTOR, 0);
  22. }
  23.  
  24. // Description: set width, height and depth
  25. // p3: Number
  26.  
  27. R3PCUBGM_DEPTH = 218006;
  28.  
  29. function mR3PCUBGM_DEPTH(p3) {
  30.   DoA(this.r3obj, 218006, p3, R3TID_FLOAT, 0);
  31. }
  32.  
  33.  
  34.  
  35.  
  36. var R3PCUBGA_HideCoveredOpts = 218500; // Boolean
  37.  
  38.  
  39. function r3Cubepropgadget () { 
  40.    this.base = r3God;
  41.    if(arguments.length) {
  42.       this.base(R3CLID_CUBEPROPGADGET, arguments);
  43.    }
  44.    // Methods
  45.    this.CPP3=mR3PCUBGM_CPP3;
  46.    this.DEPTH=mR3PCUBGM_DEPTH;
  47.  
  48.    // Attributes
  49. }
  50.  
  51. r3Cubepropgadget.prototype=new r3Propertiesgadgets;
  52. // p3cube.h_H